package service.user;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.common.BaseMapper;
import com.common.BaseService;

import beans.user.order;
import mapper.user.orderMapper;

@Service
@Transactional
public class OrderServiceImpl<T> extends BaseService<T>{

	@Autowired
	private orderMapper<T> _orderMapper;

	@Override
	public BaseMapper<T> getMapper() {
		return _orderMapper;
	}

	/**
	 * 获取最新的用户支付信息
	 * @return
	 */
	public List<order> getPayInfo() {
		return _orderMapper.getPayInfo();
	}
}